package com.foryou.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.foryou.wechat.entity.ShootCollectEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by Lee.
 */

@Repository
@Mapper
public interface ShootCollectMapper extends BaseMapper<ShootCollectEntity> {

    ShootCollectEntity getUserShootCollect(@Param("shootId") Long shootId, @Param("userId") Long userId);
    int deleteShootClock(@Param("shootId") Long shootId, @Param("userId") Long userId);
}
